[6.0] Move CMS Filesystem package to compat plugin#44240
Merged
Bodge-IT merged 14 commits intojoomla:6.0-devfrom Mar 3, 2025
Merged
[6.0] Move CMS Filesystem package to compat plugin#44240Bodge-IT merged 14 commits intojoomla:6.0-devfrom
Bodge-IT merged 14 commits intojoomla:6.0-devfrom
Conversation
7 tasks
Member
|
Please move the "classes" folder outside of the src folder. Like it is now you have the src folder managed by a classloader and then the "classes" folder managed by another classloader. I would also rename the "classes" folder to legacy or so. |
e776cd0 to
770e5d1
Compare
Member
Author
|
Done |
sandewt
reviewed
Oct 14, 2024
Co-authored-by: jsanders <j53.sanders@gmail.com>
Contributor
|
Thanks for all the work on these @Hackwar, can you resolve this little conflict? Then we can merge. |
4 tasks
laoneo
reviewed
Feb 17, 2025
4 tasks
Contributor
|
I have tested this item ✅ successfully on f7007b8 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44240. |
Contributor
|
Tested that the folder did not exist and then it all worked. Better testing instructions please This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44240. |
Contributor
|
I have tested this item ✅ successfully on f7007b8 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44240. |
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Mar 4, 2025
4 tasks
This was referenced Mar 4, 2025
Bodge-IT
added a commit
that referenced
this pull request
Mar 19, 2025
* Add deleted files and folders 2025-02-28 - New 5.x update SQL scripts - Deleted files and folder from PR #43907 minus the file added back with PR #45015 * Add deleted files from PR #45021 * Add deleted files and folders from PRs #44240 and #45020 * Add new 5.3 update SQL scripts to deleted files --------- Co-authored-by: Gary Barclay <1881642+Bodge-IT@users.noreply.github.com>
HLeithner
added a commit
to HLeithner/joomla-cms
that referenced
this pull request
Apr 16, 2025
considered changes from prs: joomla#44926 joomla#44240 joomla#44638 joomla#44700 joomla#43209 joomla#43958 joomla#42884
4 tasks
HLeithner
added a commit
that referenced
this pull request
May 14, 2025
* Create backward compatibility 6 plugin * Moved relevant code from old compat plugin and removed it considered changes from prs: #44926 #44240 #44638 #44700 #43209 #43958 #42884 * Add new plugin on install and uninstall old plugin * Remove compat media folder, add compat6 removed.asset.json * Fix cs exceptions * Update ExtensionHelper * Rename Compat.php to Compat6.php * Disable compat6 plugin for system tests * Restore class aliases from compat 5 plugin * Relocate files from #44925 --------- Co-authored-by: Richard Fath <richard67@users.noreply.github.com> Co-authored-by: Brian Teeman <brian@teeman.net>
softforge
pushed a commit
that referenced
this pull request
May 25, 2025
* Create backward compatibility 6 plugin * Moved relevant code from old compat plugin and removed it considered changes from prs: #44926 #44240 #44638 #44700 #43209 #43958 #42884 * Add new plugin on install and uninstall old plugin * Remove compat media folder, add compat6 removed.asset.json * Fix cs exceptions * Update ExtensionHelper * Rename Compat.php to Compat6.php * Disable compat6 plugin for system tests * Update administrator/language/en-GB/plg_behaviour_compat6.ini Co-authored-by: Brian Teeman <brian@teeman.net> * Update plugins/behaviour/compat6/compat6.xml Co-authored-by: Brian Teeman <brian@teeman.net> * Update plugins/behaviour/compat6/compat6.xml Co-authored-by: Brian Teeman <brian@teeman.net> * Update administrator/language/en-GB/plg_behaviour_compat6.ini Co-authored-by: Brian Teeman <brian@teeman.net> * Update administrator/language/en-GB/plg_behaviour_compat6.sys.ini Co-authored-by: Brian Teeman <brian@teeman.net> * Update plugins/behaviour/compat6/src/Extension/Compat6.php * Restore class aliases from compat 5 plugin * Relocate files from #44925 * Apply language string improvement from review suggestion Co-authored-by: Brian Teeman <brian@teeman.net> * Update plugins/behaviour/compat6/src/Extension/Compat6.php Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com> * Update plugins/behaviour/compat6/compat6.xml Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com> * Update installation/sql/mysql/base.sql Co-authored-by: Richard Fath <richard67@users.noreply.github.com> * Update installation/sql/postgresql/base.sql Co-authored-by: Richard Fath <richard67@users.noreply.github.com> * Fix wrong folder in uninstallation of compat (5) plugin. --------- Co-authored-by: Richard Fath <richard67@users.noreply.github.com> Co-authored-by: Richard Fath <richard.fath@t-online.de> Co-authored-by: Brian Teeman <brian@teeman.net> Co-authored-by: Benjamin Trenkle <bembelimen@users.noreply.github.com> Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
This PR moves the CMS Filesystem classes to the compat plugin, allowing legacy third party code to still run when the plugin is active, but making the first step to finally remove it from the CMS.
I've added the
Composer Dependency Changedlabel because the PR requirescomposer ito be run.Testing Instructions
Copy the following line in a view of your choice to generate a call to the legacy classes:
Make sure the compat plugin is enabled AND you have to run
composer ito generate an updated class loader fileVisit the view you edited in the browser to see an output of the call to the legacy class. Disable the plugin and see an error thrown instead.
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org: Adding move of CMS filesystem package to compat plugin Manual#376
No documentation changes for manual.joomla.org needed